package com.guang.springbootexecutordistributedlock.distributedlock;

import java.util.concurrent.TimeUnit;

public interface DistributedLock {
    void lock(String var1);

    boolean tryLock(String var1);

    boolean tryLock(String var1, long var2, TimeUnit var4);

    void unlock();
}